package com.easylinkin.linkappapi.grid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 网格评比表
 *
 * @author 
 * @since 2024-05-16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("grid_appraise")
public class GridAppraise implements Serializable{
    private static final long serialVersionUID=1L;

    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;

    /**
     * 评比名称
     */
    @TableField(value = "appraise_name")
    private String appraiseName;

    /**
     * 红旗单位ID
     */
    @TableField(value = "red_flag_company_id")
    private String redFlagCompanyId;

    /**
     * 红旗单位名称
     */
    @TableField(value = "red_flag_company_name")
    private String redFlagCompanyName;

    /**
     * 红旗单位ID
     */
    @TableField(value = "yellow_flag_company_id")
    private String yellowFlagCompanyId;

    /**
     * 红旗单位名称
     */
    @TableField(value = "yellow_flag_company_name")
    private String yellowFlagCompanyName;

    /**
     * 填报截止时间
     */
    @TableField(value = "end_time")
    private LocalDateTime endTime;

    /**
     * 需填报公司数
     */
    @TableField(value = "need_company_count")
    private Integer needCompanyCount;

    /**
     * 填报公司数
     */
    @TableField(value = "company_count")
    private Integer companyCount;

    /**
     * 指定填报人
     */
    @TableField(value = "fill_in_user_id")
    private String fillInUserId;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private String tenantId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(value = "modify_time")
    private LocalDateTime modifyTime;

    /**
     * 创建人id
     */
    @TableField(value = "creator_id")
    private String creatorId;

    /**
     * 修改人id
     */
    @TableField(value = "modify_id")
    private String modifyId;

    /**
     * 删除标记 1未删除 0已删除
     */
    @TableField(value = "delete_state")
    @TableLogic
    private Integer deleteState;

}
